<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Age</title>
<link rel="stylesheet" type="text/css" href="style.css" /> 
<sj:head />
<script src="js/jquery.validate.js" type="text/javascript"></script> 
<script src="js/messages_cn.js" type="text/javascript"></script> 

<script type="text/javascript">
  $().ready(function(){
	  $("#fuzzy").validate({
		  rules:{
			  "name":{
				  minlength:1
			  },
			  "age":{
				  range:[18,120],
				  number:true
			
			  },
			  "prefession":{
				  
			  },
			  "education":{
				  
			  }
	     }
    });
	
   });
 
</script>
<style type="text/css">
  #fuzzy label.error{color:#ff0000}


</style>
</head>
<body>
<div id="main" align="center">
<form action="inviteJob!findByBirth" method="get" id="job">
    出生日期 <sj:datepicker displayFormat="yy-mm-dd" yearRange="1990:2012"  changeYear="true"  changeMonth="true" name="birthday" /><br>
  <input type="submit" value="查找"/>
</form>

<div align="center">
  <form action="inviteJob!findFuzzy" method="get" id="fuzzy">
 
    姓名<input name="name" type="text" value=""/><br></br>
    年龄<input name="age" type="text" value=""/><br></br>
    职业 <input name="profession" type="text" value=""/><br></br>
    教育 <input name="education" type="text" value=""/><br></br>
      <input type="submit" value="高级查找"/>
  </form>
</div>

</div>
</body>
</html>